package com.youpingou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName(value = "tb_specification_option")
public class SpecificationOption {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 规格ID
     */
    @TableField(value = "spec_id")
    @JsonProperty("spec_id")
    private Integer specId;

    /**
     * 选项名称
     */
    @TableField(value = "option_name")
    @JsonProperty("option_name")
    private String optionName;
}